package com.mate.cloud.enums;


import com.mate.cloud.common.config.PropertyConfig;
import com.mate.cloud.common.constant.BaseExceptionCodeEnum;
import com.mate.cloud.common.constant.ResponseEnum;


/**
 * 消息异常码定义
 *
 * @author: MI
 * @email: 448341911@qq.com
 * @createTime: 2024/5/22 9:21
 * @updateUser: MI
 * @updateTime: 2024/5/22 9:21
 * @updateRemark: 修改内容
 * @version: v4.2.1
 */
public enum IMMessageExceptionEnum implements BaseExceptionCodeEnum {
    /**
     * IM 消息请求异常
     */
    IM_REQUEST_ERROR("100001");

    private final String code;

    IMMessageExceptionEnum(String code) {
        this.code = code;
    }

    @Override
    public String getCode() {
        return code;
    }
    public String code() {
        return String.valueOf(getCode());
    }


}